"""
    This file is part of django-simp.

    django-simp is free software: you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    django-simp is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public License
    along with django-simp.  If not, see <http://www.gnu.org/licenses/>.
"""
from django.conf.urls.defaults import *

urlpatterns = patterns('simpdemo.views',
    (r'^$', 'select'),
    (r'^initsimp/$', 'init_simp'),
    (r'^gallery/$', 'gallery_main'),
    (r'^gallery/add/$', 'gallery_add'),
    (r'^gallery/view/(?P<imageId>[0-9]+)/$', 'gallery_detail'),
    (r'^gallery/(?P<demoImageId>[0-9-]+)/(?P<page>[0-9]+)/$', 'gallery_view')
    #(r'^editor/(?P<module>[a-zA-Z0-9._-]+)/$', 'editor'),
    #(r'^preset/(?P<module>[a-zA-Z0-9._-]+)/(?P<preset>[0-9-]+)/$', 'preset'),
    #(r'^apply/(?P<module>[a-zA-Z0-9._-]+)/$', 'apply'),
    #(r'^commit/(?P<module>[a-zA-Z0-9._-]+)/$', 'commit'),
    #(r'^/(?P<module>[a-zA-Z0-9._-]+)/(?P<preset>[a-zA-Z0-9._-]+)/(?P<method>[a-zA-Z0-9._-]+)/$', 'module_method'),
)